{extend name="main/index" /}
{block name="main"}

<div class="content-page">
	<div class="content">
		<h1>{$title}</h1>
		<br>
		<div class="row mt50">
			<div class="col-md-12">
				<form action="{:url('admin/role/update',['id'=>$id])}" method="post" class="mt20 h3">
					选择职位:

						{volist name="list" key="k" id="v"}
						{$v['j_name']}:	<input type="checkbox" name="jid[]" value="{$v['id']}" checked="checked"><br>
						{/volist}
					{volist name="list1" key="k1" id="v1"}
					{$v1['j_name']}:	<input type="checkbox" name="jid[]" value="{$v1['id']}"><br>
					{/volist}

					<input type="hidden" name="_method" value="PUT" >
					<input type="hidden" value="{$id}" name="id">

					<button class="btn btn-success btn-lg">确认添加</button>
				</form>
			</div>
		</div>
	</div>
</div>

{/block}